package com.wanger.swa.dto.template.resp.tips.fileInfo;

import com.wanger.swc.model.tips.CommonTipInfo;
import com.wanger.swc.model.tips.TipInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: wanger
 * @Date: 2024/12/30 0:27
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("文件相关")
public class FileInfoResp implements CommonTipInfo {

    @ApiModelProperty("标题")
    private TipInfo title;

    @ApiModelProperty("具体功能列表")
    private List<TipInfo> tips = new ArrayList<>();

    @ApiModelProperty("子列表")
    private List<CommonTipInfo> children = new ArrayList<>();

    public FileInfoResp(TipInfo title, List<TipInfo> tips) {
        this.title = title;
        this.tips = tips;
    }

}
